package PTA.javabianchengjichu2;

import java.util.Scanner;

public class ex18 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        double n = sc.nextDouble();
        System.out.println((int)n/10+" 张十元");
        System.out.println((int)n%10/5+" 张五元");
        System.out.println((int)n%10%5/1+" 张一元");
        double a =n%10%5%1;
        System.out.println((int)(a/0.5)+" 张五毛");
        System.out.println((int)(a%0.5/0.1)+" 张一毛");
        double b=a%0.5%0.1;
        System.out.println((int)(b/0.02)+" 张二分");
        System.out.println((int)(b%0.02/0.01)+" 张一分");
    }
}